/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class FromTypeEnum extends StringEnum
{
    public static final String HT_VALUE = "1";
    public static final String SC_VALUE = "2";

    public static final FromTypeEnum HT = new FromTypeEnum("HT", HT_VALUE);
    public static final FromTypeEnum SC = new FromTypeEnum("SC", SC_VALUE);

    /**
     * construct function
     * @param String fromTypeEnum
     */
    private FromTypeEnum(String name, String fromTypeEnum)
    {
        super(name, fromTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FromTypeEnum getEnum(String fromTypeEnum)
    {
        return (FromTypeEnum)getEnum(FromTypeEnum.class, fromTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FromTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FromTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FromTypeEnum.class);
    }
}